-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cni spec version to 0.3.1 to support multiple ips #82844
Conversation
/test pull-kubernetes-verify |
/cc @khenidak |
7c09c9d
to
56fe509
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to see amended commits (git commit -amend)
@AlexeyPerevalov if you want I can squash some of the commits (and change the commit message) |
yes, it would be great |
7a60563
to
8545dcc
Compare
@cmluciano I added some unit tests for the specific part |
@johscheuer: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/test pull-kubernetes-e2e-kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Johannes now it's lgtm
@dcbw any news on this one? |
@johscheuer i see some tests are failing.. can i ask you to ensure that they are cleared? |
/test pull-kubernetes-files-remake |
@khenidak which tests are failing for you? When I run the tests locally everything works: === RUN TestGetPodNetworkStatus
--- PASS: TestGetPodNetworkStatus (0.00s)
=== RUN TestTeardownCallsShaper
TestTeardownCallsShaper: kubenet_linux_test.go:198: PASS: DelNetwork(mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument)
--- PASS: TestTeardownCallsShaper (0.00s)
=== RUN TestInit_MTU
--- PASS: TestInit_MTU (0.00s)
=== RUN TestTearDownWithoutRuntime
TestTearDownWithoutRuntime: kubenet_linux_test.go:318: PASS: DelNetwork(mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument)
TestTearDownWithoutRuntime: kubenet_linux_test.go:318: PASS: DelNetwork(mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument)
TestTearDownWithoutRuntime: kubenet_linux_test.go:318: PASS: DelNetwork(mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument)
TestTearDownWithoutRuntime: kubenet_linux_test.go:318: PASS: DelNetwork(mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument,mock.AnythingOfTypeArgument)
--- PASS: TestTearDownWithoutRuntime (0.05s)
=== RUN TestGetRoutesConfig
--- PASS: TestGetRoutesConfig (0.00s)
=== RUN TestGetRangesConfig
--- PASS: TestGetRangesConfig (0.00s)
=== RUN TestTrackPodIPs
--- PASS: TestTrackPodIPs (0.00s)
PASS
ok k8s.io/kubernetes/pkg/kubelet/dockershim/network/kubenet 0.081s |
/test pull-kubernetes-e2e-gce-ubuntu-containerd |
ping @dcbw for review |
If there is anything I can help with just ping me. One good thing about the "new" CNI version is that we can refactor some parts of kubenet to use the common CNI plugins with chaining (like stated in some comments). |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
} | ||
} | ||
|
||
return podGateways, podCIDRs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will blank out PodIPs. Is this what we want?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plugin.addPodIP
is called directly in the for loop instead afterwards so the behaviour should be the same?
does it makes sense to continue with this? |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@johscheuer should we close this? |
/close |
@johscheuer: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR changes the default CNI spec for kubenet to
0.3.1
and allow multiple IPs as return result which is important for the DualStack Feature.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: